package com.gdt.bdMessageQueue.mapper;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.gdt.bdMessageQueue.pojo.ActiveMqMonitor;

public interface ActiveMqMonitorMapper {

	int insertValue(ActiveMqMonitor aqM);
	
	int deleteByCustomerId(String customerId);
	
	ActiveMqMonitor queryStatusByQueueName(@Param("queueName")String queueName);
	
	ActiveMqMonitor queryStatusByCustomerId(@Param("customerId")String customerId);
	
	int updateStartStatus(ActiveMqMonitor aqM);
	
	int updateStopStatus(ActiveMqMonitor aqM);
	
	int updateServiceTime(ActiveMqMonitor aqM);
	
}
